home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / MacHacksBug / Python 1.5.2c1 / Extensions / Imaging / FORMATS < prev    next >
Encoding:
Text File  |  2000-06-23  |  4.0 KB  |  118 lines

  1.  
  2. The Python Imaging Library
  3. $Id: FORMATS,v 1.1.1.1 1998/08/18 13:07:48 sjoerd Exp $
  4.  
  5. *** File formats supported by release 0.3b2 ***
  6.  
  7. format    summary
  8. --------------------------------------------------------------------
  9. ARG    Reads the (highly experimental) ARG animation format. [1, 2]
  10.  
  11. BMP    Reads and writes 1, 4, 8 and 24-bit uncompressed images. RLE
  12.         compressed files are not supported.
  13.  
  14. CUR    Reads 4 and 8-bit Windows cursor files.  If a file contains
  15.     multiple cursors, the largest size is loaded.  Animated
  16.     cursors are not supported.
  17.  
  18. DCX    Reads DCX files (compound PCX files).  See PCX for details.
  19.     You can use seek/tell to load individual frames.
  20.  
  21. EPS    Identifies EPS images.  Writes "L", "RGB" and "CMYK" images.
  22.     Output is an EPS file covering (0, 0, xsize, ysize) in the
  23.     Postscript coordinate space.  Use scale/translate operators
  24.     to put the image in place.  (For easy printing, use the PSDraw
  25.     interface).
  26.  
  27. FLI    Reads Autodesk FLI and FLC animation files.
  28.  
  29. FPX    Reads FlashPix files.  Only the highest resolution layer is
  30.     read, and the viewing transform is ignored. [1]
  31.  
  32. GBR    Reads GIMP brushes.
  33.  
  34. GD    Reads GD images through the "GdImageFile" module.  Note that
  35.     this format cannot be automatically identified by Image.open(),
  36.     so you have to use the GdImageFile.open() function instead.
  37.  
  38. GIF    Reads GIF87 and GIF89 images, and writes uncompressed GIF87
  39.     images.  Animation files can be handled via the "seek/tell"
  40.     methods.  To generate animation files, see the "gifmaker.py"
  41.     sample script.
  42.  
  43. ICO    Reads 4 and 8-bit Windows icon files.  If a file contains
  44.     multiple icons, the largest size is loaded.
  45.  
  46. IM    Reads and writes basic versions of the IFUNC/LabEye IM format.
  47.  
  48. IMT    Reads single-layer, 8-bit images of the Image Tools format.
  49.  
  50. IPTC    Reads some versions of the IPTC/ANPA Newsphoto format.  Tags
  51.         are stored in the "info" attribute.  This driver is experimental.
  52.  
  53. JPEG    Reads and writes "L", "RGB", "CMYK" and "YCrCb" images.  Note
  54.         that YCrCb files are automatically converted to RGB, unless you
  55.     use the "draft" method.  This driver also supports progressive
  56.         JPEG files. [1]
  57.  
  58. MCIDAS    Reads 8-bit McIdas area files.
  59.  
  60. MIC    Reads Microsoft Image Composer images.  You can use the seek
  61.     method to access the individual sprites in the file.
  62.  
  63. MPEG    Identifies MPEG video streams.
  64.  
  65. MSP    Reads and writes MSP images.  Reads both version 1 and version
  66.     2 files, but writes version 1 files only (uncompressed).
  67.  
  68. PCD    Reads PhotoCD (PCD) images.  PIL reads the base resolution
  69.     only (768x512).
  70.  
  71. PCX    Reads 1, 4, 8, and 24-bit compressed images.  Uncompressed PCX
  72.         files are not supported.
  73.  
  74. PDF    Identifies and writes PDF images. [1]
  75.  
  76. PIXAR    Reads PIXAR raster files.  Only "RGB" images are supported in
  77.     this version.  This driver is experimental.
  78.  
  79. PNG    Reads W3O PNG files of all possible flavours (except interlaced
  80.     files in this version).  Writes "1", "P", "L", "I", "RGB", and
  81.     "RGBA" images. [2]
  82.  
  83. PPM    Reads and writes "1" (PBM), "L" (PGM), and "RGB" (PPM) images.
  84.  
  85. PSD    Reads Adobe PSD files.  Both uncompressed and compressed
  86.     (packbits) versions are supported.  Note that overlays and
  87.     auxiliary layers are not read.
  88.  
  89. SGI    Reads uncompressed "L" and "RGB" images.
  90.  
  91. SUN    Reads uncompressed "1", "L" and "RGB" images.
  92.  
  93. TGA    Reads uncompressed 8, 16, 24 and 32-bit "P", "L", "RGB", and
  94.     "RGBA" images.
  95.  
  96. TIFF    Reads and writes "1", "L", "RGB", "RGBA", and "CMYK" images.
  97.     PIL reads the following TIFF flavours:
  98.     - organization: striped, tiled, planar, packed
  99.     - compression: none, jpeg [1], lzw, lzw+predictor, packbits
  100.         The TIFF tag directory can be inspected through the "tag" member.
  101.     Multi-image files can be handled though the "seek/tell" methods.
  102.     PIL currently writes uncompressed, single strip images only.
  103.  
  104. WMF    Reads and renders a subset of the Windows metafile format.
  105.     This driver is experimental.
  106.  
  107. XBM    Reads and writes XBM bitmaps.
  108.  
  109. XPM    Reads XPM pixmaps.
  110.  
  111. --------------------------------------------------------------------
  112. Notes:
  113.  
  114. [1] When linked with the IJG JPEG library (version 6.0).
  115.  
  116. [2] When linked with the ZLIB library (version 1.0).  Note that
  117.     LIBPNG is not required to read PNG files.
  118.